package com.niit.session13.homework;

public class Sum {
	public static void main(String[] args) {
		int ou = 0;
		int ji = 0;
		for(int i =1; i<=100; i++) {
//			判断偶数
			if(i % 2 ==0 ) {
				ou+=i;
			}else {
				ji+=i;
			}
		}
		System.out.println(ji);
		System.out.println(ou);
	}

}
